﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace OL.FrameCore.WebUI.ViewModels
{
    public class TreeNodeView
    {
        public int id { get; set; }
        /// <summary>
        /// 节点标题
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 节点字段名
        /// </summary>
        public string field { get; set; }
        public List<TreeNodeView> children { get; set; }
        public bool spread { get; set; } = true;
        public bool @checked { get; set; }= false;
        public bool disabled { get; set; } = false;
    }
}
